<%-- 
    Document   : uploadvideo
    Created on : Dec 4, 2012, 6:37:34 PM
    Author     : Satellite
--%>

<%@page import="movie.Film"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <title>Pay-for-Play</title>
        <link rel="stylesheet" type="text/css" href="style.css" />
    </head>
    <body>
        <div id="main">
        <div class="judul1">
            <h1>Form Upload Video Album</h1>
        </div>
        <%movie.connection kon = new movie.connection();%>

        <%--<p><a href='HalamanTampilVideo.php'>View Album</a> | <a href='HalamanDaftarVideo.php'>List Album</a> | <a href='HalamanVideo.php'>Upload Video Album</a></p>--%>
        <form enctype='multipart/form-data' action='tambahVideo' method='POST'>
            <input type='hidden' name='MAX_FILE_SIZE' value='8000000' />
            <table>
                <tr><td>Judul</td><td>:</td><td><input type='text' name='judul' size='43'></td></tr>
                <tr><td>Synopsis</td><td>:</td><td><textarea name='keterangan' cols='31'></textarea></td></tr>
                <tr><td>Harga</td><td>:</td><td><input type='text' name='harga' size='43'></td></tr>
                <tr><td>Trailer</td><td>:</td><td><input type='text' name='trailer' size='43'></td></tr>
                <tr><td>Pilih File Video</td><td>:</td><td><input name='filevideo' type='file' size='30'></td></tr>
                <tr><td>Pilih Poster</td><td>:</td><td><input name='poster' type='file' size='30'></td></tr>
                <tr><td></td><td></td><td><input type='submit' name='submit' value='Upload' /></td></tr>
            </table>
            
        </form>

        <a href="HalamanAdmin.jsp">Back</a>
        <p>File video yang bisa diupload hanya yang berekstensi: .flv, .mpg, dan .mp4</p>
        <br>
        <font color="green" face="Showcard Gothic" size="20"><%
            if (request.getAttribute("message") != null) {
                out.print(request.getAttribute("message"));
            }
        %></font>
        </div>
    </body>
</html>

